/**
*@ClassName: UserService
*@Description
*@Author maozhi
*@Date 2021/3/22
*@Time 14:56
*/

package com.universityJob.modules.app.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.universityJob.common.utils.R;
import com.universityJob.modules.app.entity.UserEntity;
import com.universityJob.modules.app.form.LoginForm;
import com.universityJob.modules.data.entity.DataRecEntity;

import java.util.Map;

/**
 * 用户
 *
 *
 */
public interface UserService extends IService<UserEntity> {

	UserEntity queryByMobile(String mobile);

	/**
	 * 用户登录
	 * @param form    登录表单
	 * @return        返回用户ID
	 */
	String login(LoginForm form);

	Page<DataRecEntity> getRecList(Map rec);

	R getJobList(Map job);

	R getOneJob(String id);

	R getOneRec(String id);

	R getHistoryList(Map stu);

    R getAllOlympiad();

    R findRecommends(java.util.Map<String, Object> params);

	R upRecommendsStatus(String id);
}
